//
//  dycalla.mm
//  dycalla
//
//  Created by summer1988 on 2024/1/7.
//  Copyright (c) 2024 ___ORGANIZATIONNAME___. All rights reserved.
//

// CaptainHook by Ryan Petrich
// see https://github.com/rpetrich/CaptainHook/

#if TARGET_OS_SIMULATOR
#error Do not support the simulator, please use the real iPhone Device.
#endif

#import "CaptainHook/CaptainHook_monkeydev.h"
#import "DYCallAManager.h"


CHDeclareClass(AppDelegate)
CHDeclareMethod2(BOOL, AppDelegate, application, id, arg1, didFinishLaunchingWithOptions, id, arg2) {
	@autoreleasepool {
		BOOL res = CHSuper2(AppDelegate, application, arg1, didFinishLaunchingWithOptions, arg2);
		DYCallAManager *manager = [DYCallAManager sharedInstance];
		[manager startWebServer];
		return res;
	}
}

CHConstructor // code block that runs immediately upon load
{
	@autoreleasepool
	{
	}
}
